028d17
@@ -2002,6 +2002,8 @@
private static byte differenceInternal(UnsignedInt128 left, int[] r,
       SqlMathUtil.throwOverflowException();
     }
 
+    result.updateCount();
+
     return cmp > 0 ? (byte) 1 : (byte) -1;
   }
 
